@import "../../styles/base";

.product-list-item-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: $bg-color-base;

  .row {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-end;
    width: 96%;
    padding-bottom: 10px;

    .column {
      display: flex;
      flex-direction: column;
      align-items: start;
      justify-content: center;
      flex-grow: 1;
      margin-right: 20px;

      .column-row {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
      }
    }

    .column:nth-last-of-type(2) {
      align-items: flex-end;
      flex-grow: 3;
      margin-right: 35px;
    }

    .column:nth-last-of-type(1) {
      align-items: flex-end;
    }

    .column:first-of-type {
      margin-left: 30px;
      margin-right: 0;
    }
  }

  .tag-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 12px;
    padding-bottom: 17px;
    width: 96%;
    border-top: 1px solid $border-color-lighter;

    .direction-row-column {
      display: flex;
      align-items: center;
      font-size: 0;

      .collect-cancel {
        display: inline-flex;
        justify-content: flex-end;
        color: $font-color-grey;

        .collect-icon {
          font-size: 32px;
          line-height: 32px;
          margin-right: 24px;
        }

        .text {
          font-size: 30px;
          line-height: 30px;
        }
      }
    }
  }

  .name-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 82px;
    width: 100%;
    margin-bottom: 17px;
    border-bottom: 1px solid $border-color-lighter;

    .left {
      display: flex;
      align-items: center;
      margin-left: 34px;
      width: 65%;

      .logo {
        display:block;
        width: 60px;
        height: 60px;
        margin-right: 29px;
        // border: 1px solid #ddd;
      }

      .name {
        font-size: 28px;
        line-height: 1.2;
        font-weight: 400;
        color: $font-color-dark;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }

    .right {
      display: flex;
      align-items: center;
      margin-right: 22px;
    }
  }

  .content-box {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 17px;

    .column-center {
      align-self: center;
      flex-grow: 1;
    }

    .check-radio {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 40px;
      height: 40px;

      image {
        width: 38px;
        height: 38px;
      }
    }

    .apply-button {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 66px;
      margin-top: 0;
      margin-bottom: 20px;
      margin-left: 0;
      margin-right: 0;
      background-color: $color-primary;
      border-radius: 8px;
      border: none;
      border-color: transparent;

      .text {
        font-size: 29px;
        line-height: 29px;
        color: $bg-color-base;
      }
    }

    .is-apply {
      background-color: $btn-disabled;
    }

    .number {
      font-size: 26px;
    }
  }

  .description {
    /* margin-bottom: 20px; */
    font-size: 24px;
    line-height: 44px;
    color: $font-color-grey;
  }

  .limit {
    font-size: 36px;
    line-height: 36px;
    margin-bottom: 20px;
  }

  .red {
    color: $font-color-important;
  }

  .white {
    color: $font-color-light;
  }
}
